package com.sino.operation.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 任务池
 * </p>
 *
 * @author admin
 * @since 2021-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BIZ_TASK_POOL")
@ApiModel(value="BizTaskPool对象", description="任务池")
public class BizTaskPool implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务号")
    @TableId("TASK_ID")
    private String taskId;

    @ApiModelProperty(value = "流水号/主键")
    @TableField("JOURNAL_NO")
    private String journalNo;

    @ApiModelProperty(value = "任务到达日期")
    @TableField("RECEIVE_DATE")
    private String receiveDate;

    @ApiModelProperty(value = "任务到达时间")
    @TableField("RECEIVE_TIME")
    private String receiveTime;

    @ApiModelProperty(value = "任务状态")
    @TableField("TASK_STATE")
    private String taskState;

    @ApiModelProperty(value = "节点名")
    @TableField("NODE_NAME")
    private String nodeName;

    @ApiModelProperty(value = "当前获取人")
    @TableField("TELLER_CODE")
    private String tellerCode;

    @ApiModelProperty(value = "不能再被获取人")
    @TableField("NOT_TELLER_CODE")
    private String notTellerCode;


    @ApiModelProperty(value = "交易码")
    @TableField("TRANS_CODE")
    private String transCode;

    @ApiModelProperty(value = "优先级")
    @TableField("PRIORITY")
    private String priority;

    @ApiModelProperty(value = "流程ID")
    @TableField("FLOW_ID")
    private String flowId;

    @ApiModelProperty(value = "岗位号")
    @TableField("TELLER_POST")
    private String tellerPost;
}
